A lightweight, no-build-tools algorithm visualizer that showcases engineering skills without complexity.
20
1x
Step0 / 0
Comparisons0
Swaps0
Algorithm Information
Name: Insertion Sort
Description: A simple sorting algorithm that builds the final sorted array one item at a time by repeatedly inserting a new element into the sorted portion.
Time Complexity: O(n²) average and worst case, O(n) best case
Space Complexity: O(1)
Stable: Yes
In-Place: Yes
How to Use
Space: Play/Pause
ā/ā: Step backward/forward
R: Reset
Speed slider: Adjust animation speed
Watch how the algorithm builds the sorted array by inserting each element into its correct position!